Questions tagged [software-installation]

Installing software on a running system, either as binaries or from source. This is usually done using your system's package manager.

Most unix-like systems have automated means for installing software : tools. Use this tag for any question related to installing software, whether it's software provided by your distribution or third-party software.

If you're having trouble compiling a program from source, use instead. If you're installing the operating system, use instead.

Further reading

2327 questions
1069
votes
9 answers

How to install a deb file, by dpkg -i or by apt?

I have a deb package for installation. Shall I install by dpkg -i my.deb, or by apt? Will both handle the software dependency problem well? If by apt, how can I install from the deb by apt?
Tim
  • 92,534
  • 165
  • 512
  • 896
146
votes
16 answers

Where should I put software I compile myself?

I need to compile some software on my Fedora machine. Where's the best place to put it so not to interfere with the packaged software?
136
votes
4 answers

Where should a local executable be placed?

I have an executable for the perforce version control client (p4). I can't place it in /opt/local because I don't have root privileges. Is there a standard location where it needs to be placed under $HOME? Does the File System Hierarchy have a…
126
votes
9 answers

How to install Python 3.6?

I'd like to install the latest Python, which is 3.6 at the time of this post. However, the repository is saying that Python 3.4.2 is the newest version. I've tried: $ sudo apt-get update $ sudo apt-get install python3 python3 is already the newest…
davidtgq
  • 1,464
  • 2
  • 9
  • 10
123
votes
5 answers

Unable to locate package `docker-ce` on a 64bit ubuntu

I'm trying to install Docker on a Ubuntu 64 machine following the official installation guide. Sadly Ubuntu seems it is not able to locate the docker-ce package. Any idea to fix it or at least to track what is happening ? Here some details for…
danidemi
  • 1,483
  • 2
  • 11
  • 8
107
votes
5 answers

How to install program locally without sudo privileges?

Assume I have ssh access to some Ubuntu server as user and I need some not system tools to be installed for convenience (mc, rtorrent, mcedit). I do not want to bother admins for these small programs. Is there a way to install them (make them run)…
yura
  • 1,217
  • 2
  • 10
  • 8
105
votes
8 answers

How to find the installation path for a software under linux?

Under linux, I launch a software by typing, e.g., fluidplot. How can I find the installation path for this software?
user5997
  • 1,321
  • 3
  • 11
  • 6
103
votes
6 answers

Can't Install build-essential on CentOS

When I run the command: sudo apt-get install build-essential I get the following error message: Reading Package Lists... Done Building Dependency Tree... Done E: Couldn't find package build-essential
Waley Chen
  • 1,175
  • 2
  • 8
  • 6
103
votes
3 answers

How to install dig on CentOS?

I can't find the dig command on my new CentOS installation. I've tried dnf install dig but it say that it cannot find the package. How do I install dig on CentOS?
Mikael Dúi Bolinder
  • 3,852
  • 5
  • 17
  • 23
97
votes
3 answers

Install PostgreSQL client (psql) only on CentOS

Simple question, but no resources found about this. Is there any way to install only a PostgreSQL client, the terminal-based one, psql, on a CentOS7 system, without installing the complete PostgreSQL server? There is no dedicated postgresql-client…
90
votes
4 answers

How do I install htop in mac OS X?

How do I install htop for macOS (OS X)? (The easiest and laziest path)
Ruvenss
  • 1,001
  • 1
  • 7
  • 8
84
votes
7 answers

Into which directory should I install programs in Linux?

I want to install a program in Linux and run it as a daemon. (Team Speak 3 in this case, but the question is general in nature). There is no package provided, only tarred binaries. Where in the directory structure should I put such a program by…
Eiver
  • 995
  • 1
  • 7
  • 9
84
votes
5 answers

Why use install rather than cp and mkdir?

I've seen in many places used install -d to create directories and install -c to copy a file. Why not use mkdir and cp? Is there an advantage in using install?
65
votes
7 answers

What is the Linux equivalent to C:\Program Files?

I understand that in Windows as well as Linux and Unix, a program|application|software can be installed in any directory. Also if packages are installed using the distribution's packaging system, it'll place files in the correct location. But at…
Thomas
  • 1,623
  • 5
  • 19
  • 22
65
votes
5 answers

nvm command not available in bash script

I am trying to build a script in in which nvm and eventually node will get installed. I have installed nvm with cURL. I see the modifications in the .profile or .bashrc file (both work) and when typing the nvm at the bash prompt, it shows the…
okidoki
  • 653
  • 1
  • 5
  • 5
1
2 3
99 100