CentOS7.6安装screenfetch

时间:2023-03-09 09:22:48
CentOS7.6安装screenfetch

方法1:
yum install -y git
cd /usr/local/src
git clone https://github.com/KittyKatt/screenFetch.git
cp screenFetch/screenfetch-dev /usr/local/bin/screenfetch
chmod 755 /usr/local/bin/screenfetch

cd -

方法2:
yum install -y unzip curl
cd /usr/local/src
curl -o screenfetch.zip https://codeload.github.com/KittyKatt/screenFetch/zip/master
unzip screenfetch.zip
cp screenFetch-master/screenfetch-dev /usr/local/bin/screenfetch
chmod 755 /usr/local/bin/screenfetch
cd -