【Install Programs on Linux】Step by Step Guide ▷ 2022

To know how to install packages and programs in and any of its distributions it is one of the most complex issues for new users. through this step by step guide We are going to show you a simple way to run your installations. If you want to know more, continue reading.

The most common method of installing new software on Linux is through the . However, the commands vary according to the type of package manager that the system has.

The Linux Terminal is one of the biggest advantages offered by the operating systembecause it allows you to perform various tasks.

What should I keep in mind before installing a package or program on Linux?

One of the sections What to keep in mind before installing a package or program on Linux, is to know what a package management system is. In simple terms, it refers to a set of file formats and tools used to update, install or uninstall some software in the distributed operating system. Currently, it is divided into two major package management systems: Debian and Red Hat.

Distributions like Fedora, Mandriva, SuSE, CentOS, Among others, they use the management system of redhatwhich is characterized by using the file extension (.rpm). On the other hand, distributions like Ubuntu, Peppermint, Linux Mintand many others make use of the system dpkg of Debian, which is represented by the extension (.deb) in your files. Both management systems work differently to stay active on the device and, in turn, manage downloads.

What are the commands used to install software on Linux?

See also  【Zoom Opinions】Is it the Best Video Conferencing App? ▷ 2022

The installation processes between one management system and another they differ in various aspects, especially in the commands used. For this reason it is essential to review what are the commands used to install software on linux according to the package management system. In the case of Debianyou can use the program apt-get to install the desired program from a repository. You can write only apt or use apt-get in command.

On the other hand, also use the program dpkg for installing software with extension (.deb). Secondly, systems based on (.rpm) make use of the essential commands for distributions of linux redhat. These are yum Y dnf. In the case of yum, the user can install or update programs directly from the official repository of linux, or from a third-party repository. While the dnf commands make it easy to manage programs.

Let’s see next:

SUDO

sudo is the most important command of all, since it must be present on every line typed for the rest of the commands to work correctly. The term ‘sudo’ comes from “Super user do” either “The super user does.” It allows making significant changes to the system, as well as managing program packages, among others.

No distribution that uses linux As an operating system, it allows the user to make sensitive changes if they do not have access permissions. administrator or is a super user. The first time you enter the command in the Terminal, You will need to enter your administrator password.

apt-get

Apt are the acronyms of Advanced Packaging Tool. It translates as Advanced Packaging Tool. It is an essential command in distributions of linux What ubuntu either Linux Mint. When installing a new application through the Terminal, You must use that command. In the same way to delete a program, update, or perform other management tasks.

See also  【 Create Alerts in Gmail 】 Step by Step Guide ▷ 2022

dpkg

He is a package manager employed by Debian. The tool allows you to install, remove, manage, and update programs on distributions that use the Debian management system. Works via command lineswhich comply with specific actions.

yum

It is another of the tools used to install program packages in distributions of linux that they use redhatand the rest of its versions, to install software with extension (.rpm). The command Yum is essential for updating and removing programsas well as the administration of official or third-party repositories in Linux.

dnf

It is a package manager based on the package management system for distributions based on the files with extension (.rpm). The tool is responsible for facilitating the necessary conditions to install a new program. With its list of commands, you can perform installations and updates of your programs.

Learn step by step how to install any program on Linux

Make use of the Linux Terminal to install software can seem intimidating at first. However, if you know the procedure to the letter, the experience will be simple.

Learn step by step how to install any program on Linux with our guide:

  • To install a program on Linux using apt: sudo apt-get install program_name.
  • To uninstall a program on Linux: sudo apt-get remove program_name.
  • Update the application repository: sudo apt-get update.
  • Update programs: sudo apt-get upgrade.
  • Update specific software: sudo apt-get update program_name.
  • Install a program in (.deb) format: sudo dpkg –i program_name.deb
  • To remove a program in (.deb) format: sudo dpkg –r program_name.deb
  • To repair a program: sudo dpkg-reconfigure program_name
See also  carsize; tool to see the real size of a vehicle

In the case of Red Hat and extension files (.rpm), there are two main commands to perform the installation.

These are Yum and dnf:

  • To install a program: sudo yum install program_name or sudo dnf install program_name.
  • To install a program with an extension (.rpm): sudo rpm –i program_name.
  • To delete a program: sudo yum remove program_name or sudo dnf remove program name.
  • To update a program: Yum update or sudo dnf upgrade –refresh.

Each package management system has many more commands for various other tasks. However, here you will find the most common and essential to install, upgrade either remove all types of programs or packages in any distribution of linux that you own If you have understood everything, do not be afraid to use the linux terminaland begins to install your programs.

Loading Facebook Comments ...
Loading Disqus Comments ...