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.

Filter by
Sorted by
Tagged with
557
votes
8answers
1.7m views

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?
125
votes
17answers
38k views

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?
99
votes
8answers
195k views

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-...
83
votes
5answers
108k views

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 ...
69
votes
5answers
326k views

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?
67
votes
4answers
146k views

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. ...
65
votes
5answers
120k views

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-...
64
votes
7answers
41k views

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'...
63
votes
3answers
75k views

How do I install htop inside mac os x?

How do I install htop for Mac OS X? (The easiest and laziest path)
61
votes
4answers
11k views

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?
58
votes
4answers
8k views

How do I know where to put things in linux?

Installing something in windows takes a click of a button. But every time I try to install something in linux, which is not found in APT, I get so confused. You download a zipped folder, then what? ...
55
votes
2answers
35k views

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 $...
49
votes
2answers
133k views

Local installation of .rpms using YUM

I'm asking this question cautiously because I don't want to get this wrong. I have a program_name.rpm file saved locally on my server (CentOS 6.5). I have installed it previously just by navigating ...
48
votes
1answer
82k views

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 ...
44
votes
5answers
35k views

What is the difference between building from source and using an install package?

I was wondering: when installing something, there's an easy way of double clicking an install executable file, and on the other hand, there is a way of building it from source. The latter one, ...
43
votes
5answers
31k views

openjdk-8-jre-headless : Depends: ca-certificates-java but it is not going to be installed

Can't install Java8 apt-get install openjdk-8-jre-headless Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean ...
39
votes
4answers
18k views

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 ...
38
votes
6answers
96k views

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 directory ...
38
votes
5answers
55k views

How to compile and install programs from source

This is an issue that really limits my enjoyment of Linux. If the application isn't on a repository or if it doesn't have an installer script, then I really struggle where and how to install an ...
33
votes
5answers
4k views

Keeping track of programs

When I install a simple program it often uses make && make install and doesn't often even have an uninstall target. If I wish to upgrade a program, is it standard protocol to assume it just ...
33
votes
3answers
37k views

Install R in my own directory

How can I install a new version of R in my own directory, e.g., /local/data/project/behi.
32
votes
10answers
5k views

Why are programs not distributed in compiled format?

But they give instructions like cd downloaded_program ./configure make install This creates the ELF that is needed, and probably some .so files. Why not put those inside a zip file for download, ...
31
votes
3answers
55k views

Installing a .deb package in home directory

Is it possible to install a .deb package completely under my home directory at debian?
26
votes
7answers
4k views

Why no permissions like Android or iOS?

When I install a program like GIMP or LibreOffice on Linux I'm never asked about permissions. By installing a program on Ubuntu, am I explicitly giving that program full permission to read/write ...
26
votes
2answers
67k views

Couldn't find postgresql.conf & pg_hba.conf files in my postgresql installation

Following all the instructions from UNIXMEN, installed postgresql-9.4 in CentOS 6.4. Everything went well, started the service and could access pgsql screen. But when I try to configure the phpPgAdmin,...
25
votes
5answers
27k views

“showmount: command not found”: how do I know what to install?

Sometimes you run a command and get a "command not found" error message. After that you try to install the package that contains that command (I think that's what happens anyway?) e.g. showmount: ...
24
votes
6answers
51k views

How to install CUDA Toolkit 7/8/9 on Debian 8 (Jessie) or 9 (Stretch)?

How to install Cuda Toolkit 7.0 or 8 on Debian 8? I know that Debian 8 comes with the option to download and install CUDA Toolkit 6.0 using apt-get install nvidia-cuda-toolkit, but how do you do this ...
23
votes
4answers
4k views

Why updating a running Linux system is not problematic?

It's years I use Linux systems on a daily basis, and I never had major problems by updating a system when it was running, but I still wonder why this is possibile. Let me make an example. Suppose a ...
21
votes
5answers
23k views

Using different versions of Python

Background: Since I develop python programs that must run on different python versions, I have installed different versions of python on my computer. I am using FC 13 so it came with python 2.6 pre-...
21
votes
4answers
83k views

Install RPM file on Arch Linux?

I want to install sqldeveloper from Oracle on Arch Linux. The only Linux download option is RPM. I am not interested in using arch repositories to install sqldeveloper. I can only use what the vendor ...
21
votes
4answers
27k views

Should I put application into /usr/local or /usr/local/share?

What are the "standards" -- should I put application (not just binary, but entire distribution) to /usr/local or /usr/local/share. For example scala or weka -- it contains examples, binaries, ...
20
votes
5answers
66k views

Unable to Pull EPEL repository Metadata

Installing Nginx on Scientific Linux according this documentation fails: [vagrant@localhost ~]$ sudo su -c 'rpm -Uvh http://dl.fedoraproject.org/pub/epe l/6/x86_64/epel-release-6-8.noarch.rpm' ...
20
votes
4answers
11k views

How to make apt-get accept new config files in an unattended install of debian from Repo

I am writing a script for a unattended install of a package that is in our repo, it is a software package with one of Debian's marked config files. Is there any option that I can pass to apt-get/...
19
votes
5answers
119k views

How to install tarball packages on a Debian based distribution?

I would like to know how to install .tar.bz and .tar.bz2 packages on Debian, please give me a complete explanation.
19
votes
2answers
8k views

How to prevent prompt that ask to restart services when installing libpq-dev

I want to install libpq-dev on my Vagrant machine. I install it with $ apt-get install -y libpq-dev During installation a prompt appears which asks if it's allowed to restart some services ...
19
votes
3answers
8k views

Installing from source. How to resolve dependencies without destroying the package manager

Compiling and installing software is a pain and problem I cannot overcome. I just want to run down through my understanding of this process with someone more knowledgeable to clear my mind to get to ...
18
votes
4answers
18k views

'sudo' is not installed, I can't install it, and it asks if I am root

I just finished installing Debian 8 (Jessie) and tried to make a directory in lib/firmware, because there was a file missing (rtl8723befw.bin) in the installation, and it says mkdir: cannot create ...
17
votes
3answers
28k views

Installing a package locally to a user - best practices?

I want to install Git locally to a user on a RHEL server (I don't have root access) What would be your cleanest/ most organized way of installing software to a local user account? Installing ...
17
votes
3answers
3k views

How is install different from cp? [duplicate]

How is install different from a simple copy, cp or dd? I just compiled a little utility and want to add it to /usr/sbin so it becomes available via my PATH variable. Why use one vs the other?
17
votes
3answers
23k views

How can I install perldoc on Ubuntu?

Ubuntu 10.10 comes with Perl 5.10.1 pre-installed, but strangely enough perldoc isn't part of the package. $ perldoc You need to install the perl-doc package to use this program. How can I make this ...
16
votes
3answers
121k views

How to install/remove/upgrade .rpm packages on Red Hat?

I need to install a package that is missing in my virtual machine that is running Red Hat. How do I do that? What command should I use to install/remove/upgrade .rpm packages?
15
votes
3answers
4k views

Equivalents to '.msi' and to 'setup.exe' files in Debian or Ubuntu?

This answer explains .msi and setup.exe files for installing an application on Windows. Are there equivalents to .msi and to setup.exe files in Debian or Ubuntu? Do .deb package files correspond to ....
15
votes
7answers
14k views

Install virtual machine as non-root?

Is it possible to install any virtual machine software as non-root user and run it ? Which VM's are possible to be installed with out need of root access ? If it is not possible what would be the ...
15
votes
3answers
49k views

Difference between “make install” and “sudo make install”

Sometimes I encounter problems with using make install which gives me a permission denied error when writing to some folders. So instinctively I use sudo make install. Will this introduce additional ...
15
votes
1answer
2k views

How do I apply software patches?

I have an application foobar for which someone has written a patch to add a feature I like. How can I use the patch?
14
votes
6answers
55k views

Where is Netbeans installed on Ubuntu?

I installed Netbeans on my Ubuntu 11.10 machine. I used the combined method, so Netbeans and JDK are installed from a single file. However, now that it's installed I can't figure out how to start ...
14
votes
3answers
54k views

uninstall Python installed by compiling source?

I installed Python 2.7.9 on Ubuntu 14.04 by compiling its source, by .configre, make, and make altinstall. make altinstall is because I don't want to overwrite the default Python 2.7.6. My self ...
13
votes
1answer
31k views

Repairing python setup

On my Kubuntu 14.4 (which has python 2.7.6 as standard) my python is broken after I tried to install python 2.7.10 after building from source from python.org with the help of How to install the latest ...
12
votes
4answers
5k views

Why are there many accounts? I'm the only user

I am running an Ubuntu 12.04 desktop system. So far I have only installed some programs (I have sudo rights). When I check the list of users on the system, I see a long list, like more than 20 users&...
12
votes
4answers
39k views

Allow non-admin users to install packages via apt or rpm?

Is it possible to allow non-root users to install packages system-wide using apt or rpm? The place where I work currently has an out of date setup on the linux boxes, and admins are sick of having to ...