New answers tagged

0

You have two problems. The first one is you're trying to install mariadb RPM's that conflict with what's in CentOS/RHEL base packages. The second one is you're using the rpm command. For the first problem, since you're not on the internet with this machine, then it's not a problem. But if you do manage to have the machine on the internet, then you may have ...


0

As far as I can tell nix has no log. I'm guessing the reason for excluding this feature of every-other-package-manager-ever is that nixos is declarative rather than imperative, so the process it went through to get your system from one state to another should be irrelevant. Which brings us to what I suspect you really want to know: How can I compare the ...


0

The filesystem in /Volumes that you mention is the installation virtual disk (dmg). Hence why it is read only. Umount/Eject it and it will be gone. You can do it via the graphical interface or via: sudo diskutil umount '/Volumes/Grammarian PRO2 X' Be also careful what you do with the /Volumes directory, because it is the root of all your mounted ...


0

If it were just GCC, you could just build it from source. Keep that in mind should you ever lose your discs or need a version you don't currently have.


0

Through trial and error, I learned that by right clicking on the DVD icon on my desktop > Selecting "COPY DISC" > Select the option to ISO. Once I have created the ISO I can then go to YaST > Software Management > Configuration > Repositories > Add the ISO to the repository list to search the catalog of program files to be installed.


0

You have downloaded the debian package : "can-linux_x64.deb" from the official Comodo website, when trying to install the package you have downloaded dpkg is telling you that it can't install it as it miss some dependencies, you will need to install them in order to be able to install Comodo AV. sudo apt-get install /root/Downloads/can-linux_x64.deb This ...


0

Well, if it says "Permission denied" it seems that you are trying to start collectd with a user who have no write permission on /var/log/collectd.log.


3

If you want to install Python packages from source, you should do so in a virtualenv. That way you minimize the chance that you break your system's python, and it you make it possible to just remove the installed package without fear of removing too much. In order to do so you must first install virtualenv, e.g. using sudo apt-get install ...


3

You should force the re-installation of the g++ package; this will restore the appropriate symbolic links: sudo apt-get --reinstall install g++ Once this is done you should find that /usr/bin/g++ exists once again and is a symbolic link to g++-5.


3

The /usr/bin/g++ is a symbolic link to the real executable which is /usr/bin/x86_64-linux-gnu-g++. I guess your symbolic link is missing. Try and see if the latter file exists but the former does not. Then you can fix it manually by issuing sudo ln -sv /usr/bin/X86_64-linux-gnu-g++ /usr/bin/g++. This answer is taken from here.


0

I believe I have a solution for you. Recently I have installed Kali Linux on my machine and I noticed a similar issue. Executing the following sudo apt-get install linux-headers-$(uname -r) will only fetch form the repositories in your sources.list file. Now in my case the repositories that I are available are outdated therefore I resulted to installing the ...


2

You can do this in two separate steps: Install the package with dpkg. sudo dpkg -i packagename.deb That created missing dependencies. apt-get can fix missing dependencies automatically. sudo apt-get -f install That should also automatically finish configuring the original package. (So you will not likely need to run sudo dpkg --configure -a yourself.) ...


1

Apple doesn't install it (afaik), so you'll need Fink or MacPorts or homebrew or a manual install. Assuming a properly configured PKG_CONFIG_PATH for Fink or MacPorts or homebrew or the manual install, in this case MacPorts, pkg-config might indicate the presence of gsl (and, bonus, the various compiler flags to use). % echo $PKG_CONFIG_PATH ...


1

Download dos2unix-7.3.3.tar.gz. tar xvzf dos2unix-7.3.3.tar.gz cd dos2unix-7.3.3 make install prefix=$HOME This will install dos2unix in $HOME/bin/. For further information see INSTALL.txt.


0

You need to install kernel headers: sudo apt-get install linux-headers-$(uname -r)


0

Here's a shell script fragment that does the job: # try various methods, in order of preference, to detect distro # store result in variable '$distro' if type lsb_release >/dev/null 2>&1 ; then distro=$(lsb_release -i -s) elif [ -e /etc/os-release ] ; then distro=$(awk -F= '$1 == "ID" {print $2}' /etc/os-release) elif [ -e ...


0

Try the following command : cat /etc/*-release or lsb_release -a Finding just the distribution name and version: cat /etc/issue


0

You can use : cat /etc/os-release or lsb_release -afor Debian cat /etc/*-release or lsb_release -a for CentOS/Ubuntu.


0

I also just started with CentOS and new to it's repo and package management system, have the same issue. On the page about i3wm there is mentioned how to "enable" repo, but first of all you have to add it (assume that dnf, dnf-plugins-core installed) whatever: 1) sudo yum install -y dnf dnf-plugins-core 2) sudo dnf config-manager --add-repo ...


5

Other answers show how to download and compile dos2unix, but if you're simply looking to convert files from DOS-style line endings (CR-LF) to Unix-style line endings, there are several other approaches which shouldn't involve installing anything: if you have tr: tr -d '\r' < input > output if you have Perl: perl -pi -e 's/\r\n/\n/g' input (which ...


1

You have to download the source code and compile it. Here is the source code. To untar it execute: (VERSION equals to the version you have downloaded) tar xvf dos2unix-VERSION.tar.gz Finaly execute: make If the compilation succeeded, it will appear an executable called dos2unix and unix2dos.


2

First of all, you downloaded a dos2unix executable for windows (dos2unix-7.3.3-win32.zip), which is not what you want because you are using Linux. Try downloading the source code for dos2unix for Linux and extract it to your home dir: mkdir $HOME/bin/ tar -zxvf dos2unix-7.3.3-src.tar.gz # the exact name of the downloaded file may vary cd dos2unix-7.3.3 ...


-1

You need to download the specific RPM from the OS website. For example, for CentOS, download the RPM file from http://vault.centos.org/


1

Determine the path in which the user is attempting to launch the bin file # this will output the path the user is in actually # and you can use this aswell as a variable. echo $PWD # This will search the whole filesystem for your file # in case you need this rather than the patch the user is in. # you can aswell make this a variable to put the whole ...


0

Trying to install SDKMAN! to install Groovy. SDKMan!seemed to install happily but next step gives: source "$HOME/.sdkman/bin/sdkman-init.sh" export: Command not found. Illegal variable name. Doing something fundamentally wrong? (Pardon if posting in the wrong location)


0

you can use a copr repo: https://copr.fedorainfracloud.org/coprs/admiralnemo/i3wm-el7/ To use copr repos see: https://fedorahosted.org/copr/wiki/HowToEnableRepo Since Centos I believe still uses yum in place of the newer dnf that is in fedora/RedHat now... Use the yum instructions...


2

Any version of make has a -n option (see POSIX description of make), but the shell has no corresponding option (see for example Show commands without executing them). To aggravate the situation, if you happen to use automake, it pastes-in large chunks of boilerplate scripting (which its developers refer to as "recursive rules") which defeat the ability of ...


2

GNU make has an option to do a dry-run: ‘-n’ ‘--just-print’ ‘--dry-run’ ‘--recon’ “No-op”. Causes make to print the recipes that are needed to make the targets up to date, but not actually execute them. Note that some recipes are still executed, even with this flag (see How the MAKE Variable Works). Also any recipes needed to ...


0

What is the first drive when you boot Linux Mint from USB and what is where your Windows is installed doesn't have to be the same. Your windows is far more likely to have been installed on /dev/sdb (an SDD?) and /dev/sda is indeed completely free. Check /dev/sdb if it has your Windows partitions you can just proceed with using (some) of the free space on ...


0

Solution: sudo apt-get install python-qt4 python-pip sudo pip install https://download.electrum.org/2.6.3/Electrum-2.6.3.tar.gz#md5=3223a1f31c78a2d9a324b27b0db8f05e


1

A simple search reveals that the package is maintained on github, but the installation procedure suggested there is incomplete and contains assumptions. Use the following commands: release=0.54 wget https://github.com/mdom/dategrep/releases/download/$release/dategrep-standalone-big sudo cp dategrep-standalone-big /usr/local/bin/dategrep sudo chmod 755 ...


2

Use dpkg -L dateutils to find out what has been installed. In specific, you should look for binaries in /bin, /sbin etc.


1

Do I need to compile it myself to use it on a 32 bit system? Short: Yes. Long: Looking at... github.com/atom/atom github.com/atom/atom/releases github.com/atom/atom/blob/master/docs/build-instructions/linux.md ...it really looks like there are no ready to download 32bit packages for Debian and other Linux flavours.


0

I had the same question while installing eclipse via the eclipse installer. I noticed that gimp, perl and vim are installed in the /usr/share folder and decided to install it there.


4

In the arch package, it seems Dart gets installed into /opt/dart-sdk. This also seems to match with what FHS says: /opt is reserved for the installation of add-on application software packages. The use of /opt for add-on software is a well-established practice in the UNIX community. The System V Application Binary Interface [AT&T 1990], based on ...



Top 50 recent answers are included