Last active
December 26, 2015 18:59
-
-
Save vunb/7198715 to your computer and use it in GitHub Desktop.
This should give you a copy of make, gcc, gdb, and all those other tools you were looking for.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Once upon a time I was a very avid desktop user of Ubuntu Linux. As a software developer, I would usually need the standard build tools installed on my machine. | |
Installing build tools in Debian/Ubuntu | |
In Debian/Ubuntu, you can install the typical build tools by installing the package build-essential, which is just a pseudo-package that downloads all the popular development packages: | |
# apt-get install build-essential | |
Installing build tools in CentOS | |
Since I prefer CentOS as my server platform, I also occasionally need to install packages using yum. | |
To install the common build tools using yum in CentOS you’ll want to install the group package “Development Tools”, which is similar to build-essentials in Debian/Ubuntu flavors of linux. You’ll probably also want to install kernel-devel and kernel-headers if they’re not already installed: | |
# yum groupinstall "Development Tools" | |
# yum install kernel-devel kernel-headers | |
This should give you a copy of make, gcc, gdb, and all those other tools you were looking for. | |
Happy hacking! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo mount -o loop ~/Public/VisioProfessional_x86_en-us.img /media/temp/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NTFS Support on Linux: CentOS and RHEL | |
Install ntfs-3g.xxx package from EPEL, xxx is the CPU architecture. | |
To get the epel repo: | |
# wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
# rpm -Uvh epel-release-6-8.noarch.rpm | |
# yum install ntfs-3g | |
For additional functionality, install ntfsprogs and ntfsprogs-gnomevfs | |
# yum install ntfsprogs ntfsprogs-gnomevfs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[root@Manlab vi]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules [ OK ]
Uninstalling old VirtualBox DKMS kernel modules [ OK ]
Trying to register the VirtualBox kernel modules using DKMSError! echo
Your kernel headers for kernel 2.6.32-431.1.2.0.1.el6.i686 cannot be found at
/lib/modules/2.6.32-431.1.2.0.1.el6.i686/build or /lib/modules/2.6.32-431.1.2.0.1.el6.i686/source.
[FAILED](Failed, trying without DKMS)
Recompiling VirtualBox kernel modules [FAILED](Look at /var/log/vbox-install.log to find out what went wrong)
Cách sửa: yum install kernel-devel-$(uname -r)