Doc and script updated
This commit is contained in:
@@ -32,17 +32,18 @@
|
||||
#
|
||||
# Author: Éder F. Zulian
|
||||
|
||||
distro=$(cat /etc/os-release | grep "^ID=" | sed 's/.*=//' | awk '{print tolower($0)}')
|
||||
# Check distro. This script supports Debian/Ubuntu
|
||||
distro=`lsb_release -is`
|
||||
if [ "$distro" != "Debian" ] && [ "$distro" != "Ubuntu" ]; then
|
||||
if [ "$distro" != "debian" ] && [ "$distro" != "ubuntu" ]; then
|
||||
echo -e "Error unsupported distribution (${distro}). This script supports Debian/Ubuntu." 1>&2
|
||||
exit 1
|
||||
exit 1
|
||||
fi
|
||||
# Ensure the newest versions of all packages currently installed
|
||||
sudo apt-get update
|
||||
sudo apt-get upgrade
|
||||
# Required dependencies
|
||||
# Required dependencies and useful tools
|
||||
deplist="
|
||||
g++
|
||||
libc6
|
||||
libstdc++6
|
||||
gitk
|
||||
@@ -70,6 +71,14 @@ libqt5svg5-dev
|
||||
libqt5sql5
|
||||
libqt5widgets5
|
||||
libqt5core5a
|
||||
lsb-core
|
||||
gedit
|
||||
sublime-text
|
||||
vim-gtk
|
||||
kate
|
||||
wget
|
||||
gtkwave
|
||||
openssh-server
|
||||
"
|
||||
for d in $deplist; do
|
||||
sudo apt-get -y install $d
|
||||
|
||||
Reference in New Issue
Block a user