Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1770  / 1 Year ago, wed, march 22, 2023, 7:53:41

I am a beginner trying to understand how installation of software works in Ubuntu.
I have installed a lot of softwares on my system but everytime I want to install something I will just google and follow without really understanding how it works.The different ways I have done installation




  1. sudo apt-get install

  2. Download .deb and use dpkg

  3. Install from Ubuntu software center

  4. Synpatic package

  5. Add link to sources.list

  6. Using PPA



Why are there so many ways to install a software?. what is the difference? How does these different ways of installing it works?
Any help or links would be appreciated.


More From » apt

 Answers
5

I'll step you through each method.




  1. apt-get uses the Debian PPA system to install software. It is what goes on in the background when you install software from the software center.

  2. dpkg is even further in the background. It is what Ubuntu uses to actually install software, as opposed to simply managing it. You should not use this method if you can help it, since higher-level methods, such as apt-get, are superior in utility.

  3. Installing from the Software Center is the highest-level method of package installation. It is not designed for advanced users, who tend to prefer apt-get. However, it makes the Ubuntu ecosystem more accessible for the general user.

  4. Synaptic package manager is like a GUI alternative to apt-get. For apt-get, you need to know the name of a package. Synaptic instead lists packages that your computer knows of, and allows you to install those by clicking on them. It is more advanced than the Software Center and still has the same usage of apt-get.

  5. Adding links to sources.list is a way to add a PPA that may require a key. This is the method for installing some proprietary apps like Google Chrome. Doing this does not actually install the app, you still need to update your sources, then perform apt-get install or use Synaptic afterwards. Like Sparhawk said, these can also be used for official repositories, whereas PPAs cannot.

  6. PPAs are needed to update software. They are generally what is used to install as well. They are also the main reason apt-get is superior to dpkg for the installation process. apt-get can provide you with updates and dpkg cannot. As Sparhawk said, it is important to note that PPA stands for Personal Package Archive. These are not official repositories, which instead belong in sources.list.


[#26098] Friday, March 24, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
eballxeye

Total Points: 370
Total Questions: 91
Total Answers: 139

Location: Suriname
Member since Sat, Jan 1, 2022
2 Years ago
;