Difference between revisions of "C linux development"

From Teknologisk videncenter
Jump to: navigation, search
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>
sudo apt -y update
+
cd ~; cat << EOF > updatescript
sudo apt -y upgrade
+
#!/usr/bin/env bash
sudo apt -y install build-essential
+
apt -y update
sudo apt -y install manpages-dev
+
apt -y upgrade
sudo apt -y install glibc-doc
+
apt -y install build-essential
sudo apt -y install dpkg-dev
+
apt -y install manpages-dev
sudo apt -y install linux-doc
+
apt -y install glibc-doc
sudo apt -y install user-mode-linux-doc
+
apt -y install dpkg-dev
sudo apt -y install libssl-dev
+
apt -y install linux-doc
sudo apt -y install docbook docbook-xml docbook-xsl
+
apt -y install user-mode-linux-doc
sudo apt -y install xsltproc
+
apt -y install libssl-dev
sudo apt -y install libsystemd-dev
+
apt -y install docbook docbook-xml docbook-xsl
sudo apt -y install libcjson1 libcjson-dev
+
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