In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you how to install motivate in linux, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
Install motivate
Before installing motivate, check to see if your computer has git and python3 installed. Generally speaking, most Linux systems have been installed by default. If not, please see below for installation.
Install git and python3 on Debian,Ubuntu and Linux Mint:
$sudo apt-get install git python3
Please use the corresponding installer to install other distributions.
After installing the environment, we use git to clone its repository:
$git clone https://github.com/mubaris/motivate.git
Then wait quietly.
Cloning into 'motivate'... Remote: Enumerating objects: 1356, done. Remote: Total 1356 (delta 0), reused 0 (delta 0), pack-reused 1356 Receiving objects: 100% (1356 KiB), 776.25 KiB | 812.00 KiB/s, done. Resolving deltas: 100% (705amp 705), done.
When you are done, go to its directory:
$cd motivate/motivate
Run install.sh to compile and install:
$sudo. / install.sh
Make it effective immediately:
$source ~ / .bashrc
The above is the action of the bash user. If you are a zsh user, just replace ~ / .bashrc with ~ / .zshrc in the above command.
If you do not have root permission, you can install it by looking at the following:
$git clone https://github.com/mubaris/motivate.git $cd motivate $ln-s $PWD/motivate/motivate.py moti $ln-s $PWD/dummy.sh mmoti $echo 'export PATH=$PWD:$PATH' > > ~ / .bashrc $source ~ / .bashrc
Use motivate
Finally installed, quickly arrange a bowl of soul chicken soup for yourself.
Enter motivate or moti
$motivate$ moti
Then motivate sent you chicken soup for the soul.
"You don't have to be great to start, but you have to start to be great."-Zig Ziglar
Everybody made this bowl of chicken soup together!
Update motivate
Remember to update the latest repository of motivate,git clones from time to time:
$git clone https://github.com/mubaris/motivate.git
Enter its directory:
$cd motivate
Use the update command:
$. / UPDATE
Then we came to visit another cook, fortune.
Install fortune
RPM-based Linux system:
$sudo yum install fortune
DEB-based Linux system:
$sudo apt-get install fortune
Use fortune
$fortune
As soon as I open the terminal, I'll arrange chicken soup for you?
If you want to open the terminal, you can drink a bowl of soul chicken soup? You need to add the motivate or fortune command to the shell configuration file: open the bashrc file:
$sudo vim ~ / .bashrc
Fortune, please add the following line:
#! / bin/bash # ~ / .bashrc fortune
Motivate, please add the following line:
#! / bin/bash # ~ / .bashrc motivate
Save and close the file, and enter the following command for the changes to take effect:
$source ~ / .bashrc
The above is all the contents of the article "how to install motivate in linux". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.