Ubuntu22.10で,rootにaptがなく(消してしまった),インストールしたいのですが,方法がわかりません.
sudo: apt: command not found
消したというのは,
sudo rm -rf /usr/bin/apt
をしたということです.
その後,
https://teratail.com/questions/181418
を参考にaptをインストールすると,
apt: error while loading shared libraries: libapt-pkg.so.5.0: cannot open shared object file: No such file or directory
というエラーが出ています

回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。