From 5d4046f0dd4f4281e7a898b9595d2f3ff800152d Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Fri, 31 Aug 2018 13:38:16 -0400 Subject: [PATCH] updated apt-get usages to just use apt --- documentation/makefile | 2 +- experiments/vnc/dot.vnc/xstartup.008 | 2 +- experiments/vnc/dot.vnc/xstartup.009 | 2 +- experiments/vnc/dot.vnc/xstartup.010 | 2 +- experiments/vnc/dot.vnc/xstartup.011 | 2 +- experiments/vnc/dot.vnc/xstartup.012 | 2 +- infobase/configuration/vim/dot.vimrc | 2 +- readme.txt | 8 ++++---- scripts/core/functions.sh | 2 +- scripts/modem/reinstall_dgcmodem_driver.sh | 2 +- scripts/system/naive_system_updater.sh | 8 ++++---- walrus/utilities/archiving/archiving_utilities.txt | 2 +- 12 files changed, 18 insertions(+), 18 deletions(-) diff --git a/documentation/makefile b/documentation/makefile index 30fa8229..46a53e9f 100644 --- a/documentation/makefile +++ b/documentation/makefile @@ -19,7 +19,7 @@ if [ $$? -ne 0 ]; then \ echo failed to run doxygen on our configuration file.; \ echo perhaps it is not installed?; \ echo these are the ubuntu install steps:; \ - echo sudo apt-get install doxygen graphviz; \ + echo sudo apt install doxygen graphviz; \ echo and something else, uhhh....; \ echo oy; \ fi \ diff --git a/experiments/vnc/dot.vnc/xstartup.008 b/experiments/vnc/dot.vnc/xstartup.008 index a6d4d261..7f659227 100755 --- a/experiments/vnc/dot.vnc/xstartup.008 +++ b/experiments/vnc/dot.vnc/xstartup.008 @@ -4,7 +4,7 @@ # this script depends on the gnome desktop. to install the minimal # parts of gnome needed (as far as i know), run this command: -# sudo apt-get install gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal +# sudo apt install gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal # references: # best? https://askubuntu.com/questions/475023/how-to-make-vnc-server-work-with-ubuntu-desktop-without-xfce diff --git a/experiments/vnc/dot.vnc/xstartup.009 b/experiments/vnc/dot.vnc/xstartup.009 index 1eb6fd4c..8f004773 100755 --- a/experiments/vnc/dot.vnc/xstartup.009 +++ b/experiments/vnc/dot.vnc/xstartup.009 @@ -4,7 +4,7 @@ # this script depends on the gnome desktop. to install the minimal # parts of gnome needed (as far as i know), run this command: -# sudo apt-get install gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal kwalletmanager +# sudo apt install gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal kwalletmanager # references: # best? https://askubuntu.com/questions/475023/how-to-make-vnc-server-work-with-ubuntu-desktop-without-xfce diff --git a/experiments/vnc/dot.vnc/xstartup.010 b/experiments/vnc/dot.vnc/xstartup.010 index 6330427c..a2b65d97 100755 --- a/experiments/vnc/dot.vnc/xstartup.010 +++ b/experiments/vnc/dot.vnc/xstartup.010 @@ -4,7 +4,7 @@ # this script depends on the gnome desktop. to install the minimal # parts of gnome needed (as far as i know), run this command: -# sudo apt-get install gnome-panel gnome-settings-daemon gnome-terminal kwalletmanager metacity nautilus +# sudo apt install gnome-panel gnome-settings-daemon gnome-terminal kwalletmanager metacity nautilus # references: # diff --git a/experiments/vnc/dot.vnc/xstartup.011 b/experiments/vnc/dot.vnc/xstartup.011 index 8dc54aae..b3f1a654 100755 --- a/experiments/vnc/dot.vnc/xstartup.011 +++ b/experiments/vnc/dot.vnc/xstartup.011 @@ -4,7 +4,7 @@ # this script depends on the gnome desktop. to install the minimal # parts of gnome needed (as far as i know), run this command: -# sudo apt-get install gnome-panel gnome-settings-daemon gnome-terminal kwalletmanager metacity nautilus +# sudo apt install gnome-panel gnome-settings-daemon gnome-terminal kwalletmanager metacity nautilus # references: # diff --git a/experiments/vnc/dot.vnc/xstartup.012 b/experiments/vnc/dot.vnc/xstartup.012 index 7e5fc79b..d81e5cc2 100755 --- a/experiments/vnc/dot.vnc/xstartup.012 +++ b/experiments/vnc/dot.vnc/xstartup.012 @@ -10,7 +10,7 @@ # this script depends on the gnome desktop. to install the minimal # parts of gnome needed (as far as i know), run this command: # -# sudo apt-get install gnome-panel gnome-settings-daemon gnome-terminal kwalletmanager metacity nautilus +# sudo apt install gnome-panel gnome-settings-daemon gnome-terminal kwalletmanager metacity nautilus # references: # diff --git a/infobase/configuration/vim/dot.vimrc b/infobase/configuration/vim/dot.vimrc index f8fe7a21..7e861cdf 100644 --- a/infobase/configuration/vim/dot.vimrc +++ b/infobase/configuration/vim/dot.vimrc @@ -2,7 +2,7 @@ " this file is an example .vimrc for the vim editor. it should be in your home directory. " " also, this config uses the elflord color scheme. this may require installing the full -" vim package, e.g.: sudo apt-get install vim +" vim package, e.g.: sudo apt install vim " cranks up the register saved buffer size to 1000 lines, since otherwise the cut buffer will only " preserve the default 50 lines for a paste to another file. this makes all registers go up to diff --git a/readme.txt b/readme.txt index b042ed8c..7d78391e 100644 --- a/readme.txt +++ b/readme.txt @@ -56,10 +56,10 @@ How to install the feisty meow script dependencies A couple of perl modules are required by some of the scripts (including the differ utility and the feisty meow customization system). They can be -installed with either apt-get or CPAN. +installed with either apt or CPAN. -Install using apt-get (on Ubuntu or Debian-based OS): -$ sudo apt-get install libfile-which-perl libtext-diff-perl +Install using apt (on Ubuntu or Debian-based OS): +$ sudo apt install libfile-which-perl libtext-diff-perl or Install using perl's CPAN: $ sudo cpan install Text::Diff File::Which @@ -87,7 +87,7 @@ These dependencies are used for building the applications, tools and tests in the "nucleus", "octopi", "graphiq" and other C++ collections. | Ubuntu / Debian: -| $ sudo apt-get install build-essential librtmp-dev libcurl4-gnutls-dev libssl-dev +| $ sudo apt install build-essential librtmp-dev libcurl4-gnutls-dev libssl-dev | Centos / Redhat / Fedora: | $ sudo yum install gcc gcc-c++ openssl-devel.x86_64 curl-devel diff --git a/scripts/core/functions.sh b/scripts/core/functions.sh index 19316ccf..63dd239d 100644 --- a/scripts/core/functions.sh +++ b/scripts/core/functions.sh @@ -532,7 +532,7 @@ we will skip recustomization, but these other customizations are available: local fail_message="\n are the perl dependencies installed? if you're on ubuntu or debian, try this:\n - $(grep "apt-get.*perl" $FEISTY_MEOW_APEX/readme.txt)\n + $(grep "apt.*perl" $FEISTY_MEOW_APEX/readme.txt)\n or if you're on cygwin, then try this (if apt-cyg is available):\n $(grep "apt-cyg.*perl" $FEISTY_MEOW_APEX/readme.txt)\n"; diff --git a/scripts/modem/reinstall_dgcmodem_driver.sh b/scripts/modem/reinstall_dgcmodem_driver.sh index 57db708c..c0199c1a 100755 --- a/scripts/modem/reinstall_dgcmodem_driver.sh +++ b/scripts/modem/reinstall_dgcmodem_driver.sh @@ -2,7 +2,7 @@ THIS_FOLDER="$( \cd "$(\dirname "$0")" && /bin/pwd )" pushd $THIS_FOLDER/modem_driver/* -sudo apt-get remove dgcmodem +sudo apt remove dgcmodem dpkg -i dgcmodem_1.13_i386.deb popd diff --git a/scripts/system/naive_system_updater.sh b/scripts/system/naive_system_updater.sh index cf9cbf89..7be9d658 100644 --- a/scripts/system/naive_system_updater.sh +++ b/scripts/system/naive_system_updater.sh @@ -1,15 +1,15 @@ source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh" -sudo apt-get update -y -exit_on_error "problem while doing 'apt-get update'" +sudo apt update -y +exit_on_error "problem while doing 'apt update'" # newest magic to tell dpkg to go with existing config files and force non-interactive version. sudo bash -c "\ export DEBIAN_FRONTEND=noninteractive; \ - apt-get dist-upgrade -y -o Dpkg::Options::=\"--force-confdef\" \ + apt dist-upgrade -y -o Dpkg::Options::=\"--force-confdef\" \ -o Dpkg::Options::=\"--force-confold\"; \ " -exit_on_error "problem while doing 'apt-get dist-upgrade'" +exit_on_error "problem while doing 'apt dist-upgrade'" diff --git a/walrus/utilities/archiving/archiving_utilities.txt b/walrus/utilities/archiving/archiving_utilities.txt index 1b008455..1ab39f27 100644 --- a/walrus/utilities/archiving/archiving_utilities.txt +++ b/walrus/utilities/archiving/archiving_utilities.txt @@ -1,7 +1,7 @@ infozip: source for infozip version of zip and unzip. found in most modern linux distributions already, like: - sudo apt-get install zip unzip + sudo apt install zip unzip http://www.info-zip.org/ tar and gzip are of course old favorites and use by many. -- 2.34.1