Tag: package

  • Linux Tutorial Series – 135 – Other package operations

    Here is the video version, if you prefer it:

    Besides installing, removing and upgrading packages, there are a lot of things you can do with them – you can list installed packages, determine whether a package was installed, display information about an installed package and find which package installed a file. (Shotts, 2019)⁠ I have never used these functionalities so far, so I will not talk about them. A quick Google search or a look at the reference can give you the answers to these queries, if you ever need to use them.

    Thank you for reading!

    References

    Shotts, W. (2019). The Linux Command Line, Fifth Internet Edition. Retrieved from http://linuxcommand.org/tlcl.php. Pages 202-203

  • Linux Tutorial Series – 134 – Upgrading a package

    Here is the video version, if you prefer it:

    Upgrading your packages means installing newer versions of them. You do so by running: (Shotts, 2019)⁠

    apt-get upgrade

    You do need to prefix it with sudo.

    Hope you learned something useful!

    References

    Shotts, W. (2019). The Linux Command Line, Fifth Internet Edition. Retrieved from http://linuxcommand.org/tlcl.php. Pages 201-202

  • Linux Tutorial Series – 133 – Removing a package

    Here is the video version, if you prefer it:

    Here is how you can remove packages from your computer: (“How can you completely remove a package?,” n.d.)⁠

    sudo apt --purge remove packageName

    Then after that, to remove the dependencies that were just used by that package and aren’t used by any other package anymore:

    sudo apt --purge autoremove

    There may be some configuration files left over, either in the .config directory in your home folder or as a standalone hidden file (which means its filename starts with a .). You have to delete those manually.

    Hope you learned something useful!

    References

    How can you completely remove a package? (n.d.). Retrieved February 11, 2020, from https://askubuntu.com/questions/151941/how-can-you-completely-remove-a-package

  • Linux Tutorial Series – 132 – Installing a package

    Here is the video version, if you prefer it:

    There are two ways to install a package. (Shotts, 2019)⁠ One of them is from a repository:

    apt-get install packageName

    The other is from a file:

    dpgk -i packageFileName

    Hope you learned something useful!

    References

    Shotts, W. (2019). The Linux Command Line, Fifth Internet Edition. Retrieved from http://linuxcommand.org/tlcl.php. Pages 199-200

  • Linux Tutorial Series – 131 – Finding a package

    Here is the video version, if you prefer it:

    To preface this: I personally always use Google to find the packages I need. Either I look for the package name on the distribution website or I am looking for specific packages I need to install for some purpose. I never used the commands that follow so far, but they are useful to know about.

    To find a package you want to install, you can use the following command: (Shotts, 2019)⁠

    apt-cache search query

    An example:

    mislav@mislavovo-racunalo:~/Linux_folder$ apt-cache search zip

    advancecomp - collection of recompression utilities

    node-almond - minimal AMD API implementation for use in optimized browser builds

    amanda-client - Advanced Maryland Automatic Network Disk Archiver (Client)

    amanda-server - Advanced Maryland Automatic Network Disk Archiver (Server)

    You get a list of packages related to your search query.

    You can also use

    apt search query

    for the same purpose.

    Hope you learned something useful!

    References

    Shotts, W. (2019). The Linux Command Line, Fifth Internet Edition. Retrieved from http://linuxcommand.org/tlcl.php. Page 199