Apt get install linux tools

How To Install linux-tools-5.4.0-74-generic on Ubuntu 18.04

In this tutorial we learn how to install linux-tools-5.4.0-74-generic on Ubuntu 18.04.

What is linux-tools-5.4.0-74-generic

This package provides the architecture dependant parts for kernel version locked tools (such as perf and x86_energy_perf_policy) for version 5.4.0-74 on 64 bit x86.

There are three ways to install linux-tools-5.4.0-74-generic on Ubuntu 18.04. We can use apt-get , apt and aptitude . In the following sections we will describe each method. You can choose one of them.

Install linux-tools-5.4.0-74-generic Using apt-get

Update apt database with apt-get using the following command.

After updating apt database, We can install linux-tools-5.4.0-74-generic using apt-get by running the following command:

sudo apt-get -y install linux-tools-5.4.0-74-generic 

Install linux-tools-5.4.0-74-generic Using apt

Update apt database with apt using the following command.

After updating apt database, We can install linux-tools-5.4.0-74-generic using apt by running the following command:

sudo apt -y install linux-tools-5.4.0-74-generic 

Install linux-tools-5.4.0-74-generic Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

After updating apt database, We can install linux-tools-5.4.0-74-generic using aptitude by running the following command:

sudo aptitude -y install linux-tools-5.4.0-74-generic 

How To Uninstall linux-tools-5.4.0-74-generic on Ubuntu 18.04

To uninstall only the linux-tools-5.4.0-74-generic package we can use the following command:

sudo apt-get remove linux-tools-5.4.0-74-generic 

Uninstall linux-tools-5.4.0-74-generic And Its Dependencies

To uninstall linux-tools-5.4.0-74-generic and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove linux-tools-5.4.0-74-generic 

Remove linux-tools-5.4.0-74-generic Configurations and Data

To remove linux-tools-5.4.0-74-generic configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge linux-tools-5.4.0-74-generic 

Remove linux-tools-5.4.0-74-generic configuration, data, and all of its dependencies

We can use the following command to remove linux-tools-5.4.0-74-generic configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge linux-tools-5.4.0-74-generic 

References

Summary

In this tutorial we learn how to install linux-tools-5.4.0-74-generic package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.

Читайте также:  Linux видеорегистратор ip камер

Источник

How to install linux tools [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.

I am trying to install some library, it asked me to install the following first: linux-tools-virtual 3.13.0.35.42 linux-tools-lowlatency 3.13.0.35.42 linux-tools-generic-lts-trusty 3.13.0.35.42 linux-tools-generic-lts-saucy 3.13.0.35.42 linux-tools-generic 3.13.0.35.42 You should explicitly select one to install. E: Package ‘linux-tools’ has no installation candidate I am using aws instance as ubuntu user, version 14.

To the off-topic voters: linux-tools is something that one can use for development, so I don’t see how it’s off-topic here.

1 Answer 1

A quick look at apt-cache search linux-tools reveals that even apt-get doesn’t know which one you’re talking about. There’s a lot of those packages that are similarly named.

Be explicit about which one it is you need to install. Since I don’t know which one you require for your application, I can’t recommend a specific, exact one for you to install that I know will work 100%. But the linux-tools-generic and linux-tools-virtual seem to be promising. Look into those packages and see if they contain the libraries you need.

I know which lib and how to install it: sudo apt-get install linux-tools-generic-lts-trusty But,afterward, when install other libraries, it said the same thing again.

Источник

How to install «development tools» for Ubuntu using apt-get?

In linux you will need to install ‘Development Tools’ group if you want to compile software and build new rpms. These tools include, core development tools such as automake, gcc and debuggers which is required to compile software . In this article i will explain how to install “development tools” on Ubuntu and Centos

How to install “development tools” on Ubuntu using apt-get ?

On an Ubuntu machine, you can use the following command to install “development tools”

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 root @ test : / # sudo apt-get install build-essential bash : sudo : command not found root @ test : / # apt-get install build-essential Reading package lists . . . Done Building dependency tree Reading state information . . . Done The following additional packages will be installed : bzip2 dpkg – dev fakeroot g ++ g ++ – 5 ifupdown iproute2 isc – dhcp – client isc – dhcp – common libalgorithm – diff – perl libalgorithm – diff – xs – perl libalgorithm – merge – perl libatm1 libdns – export162 libdpkg – perl libfakeroot libfile – fcntllock – perl libgdbm3 libisc – export160 libmnl0 libperl5 . 22 libstdc ++ – 5 – dev libxtables11 make netbase patch perl perl – modules – 5.22 rename xz – utils Suggested packages : bzip2 – doc debian – keyring g ++ – multilib g ++ – 5 – multilib gcc – 5 – doc libstdc ++ 6 – 5 – dbg ppp rdnssd iproute2 – doc resolvconf avahi – autoipd isc – dhcp – client – ddns apparmor libstdc ++ – 5 – doc make – doc ed diffutils – doc perl – doc libterm – readline – gnu – perl | libterm – readline – perl – perl The following NEW packages will be installed : build – essential bzip2 dpkg – dev fakeroot g ++ g ++ – 5 ifupdown iproute2 isc – dhcp – client isc – dhcp – common libalgorithm – diff – perl libalgorithm – diff – xs – perl libalgorithm – merge – perl libatm1 libdns – export162 libdpkg – perl libfakeroot libfile – fcntllock – perl libgdbm3 libisc – export160 libmnl0 libperl5 . 22 libstdc ++ – 5 – dev libxtables11 make netbase patch perl perl – modules – 5.22 rename xz – utils 0 upgraded , 31 newly installed , 0 to remove and 30 not upgraded . Need to get 1926 kB / 19.1 MB of archives . After this operation , 89.2 MB of additional disk space will be used .
Читайте также:  Linux права всем подпапкам

As you can see in the output, following packages will be installed

1 2 3 4 5 bzip2 dpkg – dev fakeroot g ++ g ++ – 5 ifupdown iproute2 isc – dhcp – client isc – dhcp – common libalgorithm – diff – perl libalgorithm – diff – xs – perl libalgorithm – merge – perl libatm1 libdns – export162 libdpkg – perl libfakeroot libfile – fcntllock – perl libgdbm3 libisc – export160 libmnl0 libperl5 . 22 libstdc ++ – 5 – dev libxtables11 make netbase patch perl perl – modules – 5.22 rename xz – utils

How to install “development tools” on Centos ?

On a Centos machine, you can use the following command to install “development tools”

1 2 3 4 5 6 7 8 yum groupinstall ‘Development Tools’ Installing for group install “Development Tools” : autoconf noarch 2.69 – 11.el7 base 701 k automake noarch 1.13.4 – 3.el7 base 679 k bison x86 _ 64

This will install following packages

1 2 3 autoconf automake bison byacc cscope ctags diffstat doxygen elfutils flex gcc gcc – c ++ gcc – gfortran gettext git indent intltool libtool make patch patchutils rcs redhat – rpm – config rpm – build rpm – sign subversion swig systemtap

Источник

How To Install linux-tools-generic on Ubuntu 22.04

In this tutorial we learn how to install linux-tools-generic on Ubuntu 22.04.

What is linux-tools-generic

This package will always depend on the latest generic kernel tools available.

There are three ways to install linux-tools-generic on Ubuntu 22.04. We can use apt-get , apt and aptitude . In the following sections we will describe each method. You can choose one of them.

Install linux-tools-generic Using apt-get

Update apt database with apt-get using the following command.

Читайте также:  Linux find all big files

After updating apt database, We can install linux-tools-generic using apt-get by running the following command:

sudo apt-get -y install linux-tools-generic 

Install linux-tools-generic Using apt

Update apt database with apt using the following command.

After updating apt database, We can install linux-tools-generic using apt by running the following command:

sudo apt -y install linux-tools-generic 

Install linux-tools-generic Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

After updating apt database, We can install linux-tools-generic using aptitude by running the following command:

sudo aptitude -y install linux-tools-generic 

How To Uninstall linux-tools-generic on Ubuntu 22.04

To uninstall only the linux-tools-generic package we can use the following command:

sudo apt-get remove linux-tools-generic 

Uninstall linux-tools-generic And Its Dependencies

To uninstall linux-tools-generic and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove linux-tools-generic 

Remove linux-tools-generic Configurations and Data

To remove linux-tools-generic configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge linux-tools-generic 

Remove linux-tools-generic configuration, data, and all of its dependencies

We can use the following command to remove linux-tools-generic configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge linux-tools-generic 

References

Summary

In this tutorial we learn how to install linux-tools-generic package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.

Источник

Оцените статью
Adblock
detector