Last active
November 20, 2021 02:00
-
-
Save igb/ab0c535a91a02e373f9c8985d6a15f63 to your computer and use it in GitHub Desktop.
This file contains 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
#INSTALL GMP | |
cd /tmp/ | |
curl -O https://gmplib.org/download/gmp/gmp-6.2.1.tar.xz | |
tar -xzvf gmp-6.2.1.tar.xz | |
cd gmp-6.2.1 | |
./configure --prefix=/usr/local | |
make clean | |
make | |
sudo make install | |
cd /tmp/ | |
rm -rf gmp-6.2.1* | |
#INSTALL NETTLE | |
cd /tmp/ | |
curl -O https://ftp.gnu.org/gnu/nettle/nettle-3.7.3.tar.gz | |
tar -xzvf nettle-3.7.3.tar.gz | |
cd nettle-3.7.3 | |
./configure --prefix=/usr/local --enable-public-key --disable-assembler | |
make clean | |
make | |
sudo make install | |
cd /tmp/ | |
rm -rf nettle-3.7.3* | |
#INSTALL PKG CONFIG | |
cd /tmp/ | |
curl -O https://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz | |
tar -xzvf pkg-config-0.29.2.tar.gz | |
cd pkg-config-0.29.2 | |
./configure --prefix=/usr/local --with-internal-glib | |
make clean | |
make | |
sudo make install | |
cd /tmp/ | |
rm -rf pkg-config-0.29.2* | |
#INSTALL GNU TLS | |
cd /tmp/ | |
curl -O https://www.gnupg.org/ftp/gcrypt/gnutls/v3.6/gnutls-3.6.16.tar.xz | |
tar -xzvf gnutls-3.6.16.tar.xz | |
cd gnutls-3.6.16 | |
./configure --prefix=/usr/local --with-included-libtasn1 --with-included-unistring --without-p11-kit --disable-doc | |
make clean | |
make | |
sudo make install | |
cd /tmp/ | |
rm -rf gnutls-3.6.16* | |
#INSTALL EMACS | |
cd /tmp/ | |
curl -O https://ftp.gnu.org/gnu/emacs/emacs-27.2.tar.gz | |
tar -xzvf emacs-27.2.tar.gz | |
cd emacs-27.2 | |
./configure | |
make clean | |
make | |
sudo make install | |
sudo cp -R ./nextstep/Emacs.app /Applications/ | |
cd /tmp/ | |
sudo rm -rf emacs-27.2* | |
echo "PATH=\$PATH:/Applications/Emacs.app/Contents/MacOS/" >> $HOME/.bash_profile | |
echo "PATH=\$PATH:/Applications/Emacs.app/Contents/MacOS/" >> $HOME/.zshrc | |
echo "alias emacs='Emacs -nw -Q'" >> $HOME/.bash_profile | |
echo "alias emacs='Emacs -nw -Q'" >> $HOME/.zshrc | |
echo "EMACS INSTALLED!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment