mia-01_ Club
登録する
Fanpop
New Post
Explore Fanpop
Some Debian use dpkg packaging system which offers programs and apps for the installation procedure. With this packing system, users do not have to build apps from any 情報源 codes. The tool which is compulsory for the interaction with the packing system is Apt. But certain times, the APT tool will not work well on your Mac and will 表示する the ‘sudo apt-get command not found’ error. To fix this error, go through the methods mentioned below.

Here’s How to Fix ‘sudo apt-get command not found’ on Mac

• Install Homebrew on your Mac

1. Keep pressing on the Command and 宇宙 keys together.

2. Go to the Spotlight option.

3. Enter Terminal in the 検索 bar.

4. Click on the Enter option.

5. Firstly, あなた have to start installing the Xcode command-line tool によって going through the below-mentioned command:

xcode-select –install

6. Once あなた have installed the Xcode tool, start typing and copying the below-mentioned command for installing Homebrew on your Mac:

Ruby -e “$(curl -fsSL)”

7. Now, あなた will get the installation window, which indicates the Return key and also the パスワード for verification.

8. Now, あなた will find the installation successful text.

9. After that, use the Homebrew, enter the below-mentioned command for installing the package which あなた wish to install on the system:

brew install name

10. あなた need to use the brew command for installing the package on the computer.

• Install MacPorts in Your Mac

1. Go to the App Store.

2. It is located on the Dock folder.

3. Enter the Xcode in the text field.

4. Press on the Get and install the Xcode option.

5. あなた need to wait for a few 分 for installing the Xcode.

6. Accept the terms and conditions of installing the Xcode.

7. It will open the app from the App Store または Dock.

8. Press on the Agree option.

9. Enter the below-mentioned command in Terminal to accept the terms and conditions.

10. Keep pressing on the Cmd and 宇宙 key are 与えられた on the system keyboard.

11. Enter the Terminal in the 検索 bar.

12. Enter the below-mentioned command for installing the Xcode command-line tool:

xcode-select –install

13. Start downloading the MacPorts.

14. Once あなた have completed the downloading process, go to the downloaded file.

15. Start installing the program によって completing the installation procedure.

16. Enter the パスワード in case it is compulsory.

17. After completing the installation procedure, start the Terminal again and enter the below-mentioned command:

sudo port selfupdate

18. Start installing the package によって going through the command mentioned below:

sudo port install name

Source:- link

link is a creative person who has been 書く blogs and 記事 about cybersecurity. She writes about the latest アップデート regarding link and how it can improve the work experience of users. Her 記事 have been published in many 人気 e-magazines, blogs, and websites.