Tag Info

New answers tagged

0

You can try to follow this steps: Extract the archive: tar -xvzf log4cpp.tar.gz cd to created directory cd log4cpp Run configure: ./configure You can check various options if you run: ./configure --help. For example with option --prefix=/path/ you can change installation directories, by default make install will install all the files in /usr/local/bin ...


0

Neither of the tutorials you mentioned suggest using useradd with all of those options. By setting the login shell to /sbin/nologin you encounter: incorrect password and This account is currently not available The following command will cause tomcat to be a system account without a /home/tomcat directory: useradd -r tomcat --shell /bin/false And ...


1

You are running a Windows version of Krita on Mint. You need to install the native version of Krita. Use Synaptic or apt-get to install it. Krita runs fine on Mint if you use the native version.


0

For CentOS 7 I needed to do install DKMS via epel. Here is my complete list of commands. sudo wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm sudo rpm -ivh epel-release-7-5.noarch.rpm sudo yum install dkms -y sudo yum groupinstall "Development Tools" -y sudo yum install kernel-devel -y sudo yum upgrade -y reboot the vm ...


0

useradd -m -d /home/thenewuser -s /bin/bash -c "the new user" -U thenewuser -c "message" : extra information about the user. -U thenewuser : Create a group with the same name as the user, and add the user to this group. -N : the -N argument tells the system not to create a group having the user’s name -m, --create-home are same: Create the user's home ...


1

There are as many opinions as there are people. I think the best way to create tomcat user to do as follows: # useradd -r -s /sbin/nologin tomcat # chown -R tomcat: /usr/local/tomcat It means, you will create system account. Info from man useradd: System users will be created with no aging information in /etc/shadow, and their numeric identifiers are ...


5

When you press Ctrl+C, the process (technically, the process group) that is running in your terminal is killed. You can't resurrect it. All you can do is run it again. Running make involves a lot of steps that each compile a single file, or link some files, or run one test, etc. When you press Ctrl+C, the current step is cancelled, but the data from all the ...


1

As with all questions like this, the answer is to write a PKGBUILD for the package yourself (after you are done, consider putting it on the AUR to make other folks' lives easier :D). Note, you should not ever manually install programs on Arch (or really any distribution with a package manager unless you are willing to deal with manually updating that ...


1

The /usr/local and /opt directories are typically used for the installation of local programs system-wide. Typically you can either put the new binaries in /usr/local/bin or symlink them there so that they're still in the default user $PATH (so they can just run program without specifying the exact path).


0

Alright. Sigh. Just delete the (probably old) ~/pkg folder and then try to fetch again: go get [antything] After doing that it worked for me.


-1

I Think you need to change your home folder path in /etc/passwd fond your user and change the folder reboot and its done. I don't recommend you to install as root and I not recommend to change the root home folder. Better Way is ADD new user, added to your sudoers file change the home folder for this user.


8

apt-get (like all other APT-based software: aptitude, synaptic, etc.) looks for packages in the places mentioned in the file /etc/apt/sources.list. In addition, files in the directory /etc/apt/sources.list.d are used (if their name isn't too “weird”). Edit the file /etc/apt/sources.list to remove or comment out the line refering to the Debian CD. To comment ...


2

I'd personally make no assumption on sudo, just as putting sudo in a script is a bad idea. Your fourth suggestion (check whether the script runs as root) is best, IMHO. Just that I prefer checking the effective user ID instead of its name: [ -n "$EUID" ] && [ $EUID -eq 0 ] || <not root, exit> This will leave the choice to the user, which ...


0

You may try to solve it in a different way. If both hard drives are 2.5" (most probably they are), remove the case of external HDD and replace the crashed internal HDD with external one. Internal SATA adapter is much faster than USB, and you may try data recovery from the crashed internal drive. Assuming you have some knowledge about hardware and a little ...


0

Given that elementary OS is based on Ubuntu, you have a couple of options. You can install OpenJDK using the openjdk-7 or openjdk-8 packages; I'm not sure the latter are available in elementary OS though. You can re-package an Oracle JDK (including JDK 8) using the java-package package which is also available in elementary OS. This will give you an ...


0

Obviously, it will be difficult to download software if your network is not working. Debian also creates non-free installation images. One of these would probably have been better to use for your hardware. If your Ethernet is currently working with a different free driver, then you can get the rest of the firmware that you may need for your hardware as ...


-1

sudo apt-get install linux-firmware-nonfree or you can use apt-cache search realtek to see if there are specific drivers for your hardware.


1

Related: Where should Steam install game data on linux, to be FHS-compliant? I also recommend /opt, many vendors release their software regarding dirs in /opt as the default installation destination - /opt/google/chrome, /opt/Xilinx/Vivado, etc. Of course it would be nice if local administrators would have an option to change that path.


1

The version of debootstrap in Ubuntu 12.04 is too old, it doesn't support Jessie. Support for Jessie was added in version 1.0.49. You can upgrade to a newer version of debootstrap manually by downloading it from https://launchpad.net/ubuntu/+source/debootstrap; its dependencies are trivial and should be OK in Ubuntu 12.04.


-1

yum install pyliblzma That installs the package you're missing.


2

To check whether a library is installed correctly, you'd usually try building a program using it. make check runs tests in the build tree, not on the installed files. In your case they passed, which is good, but it's not sufficient to ensure you'll be able to build software using FFTW. The presence of the files you list in /usr/local/lib indicates that ...


0

As the error state, you need X development files which can be installed via: sudo apt-get install xorg-dev libx11-dev If building 32-bit version on 64-bit machine and you'll get similar error: configure: error: X 32-bit development files not found. then install X 32-bit development files: sudo apt-get install libx11-dev:i386 If you still have ...


6

Well, your distribution has TeX Live packages, so you could use those: sudo apt-get install texlive If you don't want to do that, see https://www.tug.org/texlive/debian.html, specifically the section "Integrating vanilla TeX Live with Debian". The issue is that since you installed TeX Live locally, the Debian package management system doesn't know TeX is ...


3

Cabal installs the new cabal version under /home/user/.cabal/bin Thus, you either have to directly call /home/user/.cabal/bin/cabal or add /home/user/.cabal/bin to your path. /usr/bin/cabal is the version packaged by Debian.


1

To expand on user1794469's converted comment, since Kali is based on Debian, you can add a PPA containing a newer version of python. Follow these steps: sudo apt-get install -y python-software-properties sudo add-apt-repository -y ppa:fkrull/deadsnakes sudo add-apt-repository ppa:fkrull/deadsnakes sudo apt-get update sudo apt-get install -y python3.3 ...


1

Perl's own package manager is the easiest way to install Perl libraries. Unfortunately, it isn't integrated in the distribution, so you won't get the benefits of the distribution's package management such as stable releases, security updates, or dependency tracking for non-Perl components. So it's better to use this only for modules that are not present in ...


0

Using curl: sudo curl https://yt-dl.org/downloads/2015.06.04.1/youtube-dl -o /usr/local/bin/youtube-dl sudo chmod a+x /usr/local/bin/youtube-dl or using wget: sudo wget https://yt-dl.org/downloads/2015.06.04.1/youtube-dl -O /usr/local/bin/youtube-dl sudo chmod a+x /usr/local/bin/youtube-dl or using pip (if you haven't installed pip, run sudo apt-get ...


2

You will need to install pip before you can use it to install youtube-dl. First install pip: sudo apt-get install python-pip Then install youtube-dl: sudo pip install youtube-dl


0

I found a solution. I just needed to open a new bash session. Just type "bash" in console and you're ready to go.


1

I faced the same problems you describe, but managed to get stackapplet running on Ubuntu 14.04. The trick was to manually create stackapplet's configuration file, ~/.stackapplet/config: Stop stackapplet: killall stackapplet.py Back up ~/.stackapplet/config: cp -a ~/.stackapplet/config ~/.stackapplet/config.bak Replace the contents of ...


0

I had this same issue - crashing and getting an error about Xclient or Xserver after installing nvidia. I had to remove nvidia to get the system working again. I figured out a fix. I recommend doing this before you even try to install the nvidia drivers: In Mint go to Menu, then Administration, then Login Window. In Login Window Preferences select Options. ...



Top 50 recent answers are included