• What if I try to install something I have already, like curl?

    Home » Forums » AskWoody support » Linux for the Home user » Linux Mint » What if I try to install something I have already, like curl?

    Author
    Topic
    #2621999

    I know this a dumb question, still I am curious.

    I am wondering, what if I try to installing something I already have? Something like curl. For example, the the first step of instruction given by the Brave website on how to install on Mint was to install curl.

    So I am wondering, what would happen? Duplicated program? Nothing happened? Updating the program?

    Secondary, could I safely skip that command if I already have say curl?

    Thank you for considering this dumb question of mine 🙂

    Viewing 0 reply threads
    Author
    Replies
    • #2622109

      There are several ways to install programs in Linux, and how it behaves is a function of which method you use. In Mint and other Debian-based distros, the usual way is to use apt (whether from the command line or using a graphical utility like Synaptic).

      I went to the page in question, and the first command listed is the usual type, ‘sudo apt install curl’. If you enter that command and you already have curl installed, this is similar to what you see:

      $ sudo apt install curl
      [sudo] password for username:
      Reading package lists… Done
      Building dependency tree… Done
      Reading state information… Done
      curl is already the newest version (7.81.0-1ubuntu1.15).
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

      As you can see, it checked to see if I had curl installed, and when it saw that I did, it stopped, as there was nothing to do. Since curl was installed via the usual apt package manager, it would already be kept up to date under normal circumstances.

      You can safely skip that line if you already have curl installed, yes. It would just give you a message similar to the one I cited above anyway.

      Dell XPS 13/9310, i5-1135G7/16GB, KDE Neon 6.2
      XPG Xenia 15, i7-9750H/32GB & GTX1660ti, Kubuntu 24.04
      Acer Swift Go 14, i5-1335U/16GB, Kubuntu 24.04 (and Win 11)

      • #2623164

        Thank you very much for your reply! 😀  That was helpful to me.

    Viewing 0 reply threads
    Reply To: What if I try to install something I have already, like curl?

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: