Created
February 20, 2018 20:04
-
-
Save robocoder/f4e735e5c20881ed53e21a32daadf2cb to your computer and use it in GitHub Desktop.
building apt on xenial
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
# apt 1.4.y | |
git clone https://github.com/Debian/apt.git | |
cd apt | |
git checkout 1.4.y | |
apt-get install libcurl4-openssl-dev | |
apt-get install cmake | |
apt-get install liblz4-dev | |
apt-get install liblzma-dev | |
apt-get install libbzip2-dev | |
apt-get install libbz2-dev | |
apt-get install pkg-config | |
apt-get install libdb-dev | |
apt-get install docbook-xsl | |
apt-get install doxygen | |
apt-get install po4a | |
apt-get install xsltproc | |
apt-get install w3m | |
cmake -DCONF_DIR=/etc/apt -DCACHE_DIR=/var/cache/apt -DLOG_DIR=/var/log/apt -DSTATE_DIR=/var/lib/apt . | |
make | |
export LD_LIBRARY_PATH=$(pwd)/cmdline | |
cmdline/apt-get update # HANGS! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
virtualbox - you really need to allocate more than 1GB to your VM; also, recommend:
apt-get install swapspace