Difference between revisions of "C linux development"
From Teknologisk videncenter
m (→Debian based distro) |
m (→Debian based distro) |
||
Line 3: | Line 3: | ||
Probably more packages than you need... | Probably more packages than you need... | ||
<source lang=bash> | <source lang=bash> | ||
− | + | cd ~; cat << EOF > updatescript | |
− | + | #!/usr/bin/env bash | |
− | + | apt -y update | |
− | + | apt -y upgrade | |
− | + | apt -y install build-essential | |
− | + | apt -y install manpages-dev | |
− | + | apt -y install glibc-doc | |
− | + | apt -y install dpkg-dev | |
− | + | apt -y install linux-doc | |
− | + | apt -y install user-mode-linux-doc | |
− | + | apt -y install libssl-dev | |
− | + | apt -y install docbook docbook-xml docbook-xsl | |
− | + | apt -y install xsltproc | |
+ | apt -y install libsystemd-dev | ||
+ | apt -y install libcjson1 libcjson-dev | ||
+ | EOF | ||
+ | chmod +x updatescript | ||
+ | sudo ./updatescript | ||
</source> | </source> | ||
[[Category:Linux]][[Category:C]][[Category:GNU]] | [[Category:Linux]][[Category:C]][[Category:GNU]] |
Revision as of 08:57, 18 December 2022
Debian based distro
Probably more packages than you need...
cd ~; cat << EOF > updatescript
#!/usr/bin/env bash
apt -y update
apt -y upgrade
apt -y install build-essential
apt -y install manpages-dev
apt -y install glibc-doc
apt -y install dpkg-dev
apt -y install linux-doc
apt -y install user-mode-linux-doc
apt -y install libssl-dev
apt -y install docbook docbook-xml docbook-xsl
apt -y install xsltproc
apt -y install libsystemd-dev
apt -y install libcjson1 libcjson-dev
EOF
chmod +x updatescript
sudo ./updatescript