Tom*_*Tom 4 apt software-uninstall scala
我按照cs setupScala 网站上的描述安装了 Scala:https ://www.scala-lang.org/download/
现在由于某种原因我无法卸载它。我尝试过sudo apt-get purge scala,sudo apt-get remove scala但它只是输出“包'scala'未安装,因此未删除”。但是,该命令scala仍然有效。
如何卸载 scala?
您链接的说明告诉您
要安装 Scala,建议使用
cs setup由 Coursier 提供支持的 Scala 安装程序。
cs可以使用相同的程序来卸载该软件 - 您可以通过调用其内置帮助来验证:
$ ./cs --help
Usage: ./cs <COMMAND>
Coursier is the Scala application and artifact manager.
It can install Scala applications and setup your Scala development environment.
It can also download and cache artifacts from the web.
Install application commands:
install Install an application from its descriptor.
list List all currently installed applications.
setup Setup a machine for Scala development.
uninstall Uninstall one or more applications.
update Update one or more applications.
Application channel commands:
channel Manage additional channels, used by coursier to resolve application descriptors.
search Search application names from known channels.
Java commands:
java Manage installed JVMs and run java.
java-home Print the home directory of a particular JVM.
Launcher commands:
bootstrap Create a binary launcher from a dependency or an application descriptor.
launch Launch an application from a dependency or an application descriptor.
Resolution commands:
fetch Transitively fetch the JARs of one or more dependencies or an application.
resolve Resolve and print the transitive dependencies of one or more dependencies or an application.
Other commands:
version Prints the coursier version
Run Code Online (Sandbox Code Playgroud)
和
$ ./cs uninstall --help
Usage: ./cs uninstall [options] [app-name*]
Uninstall one or more applications.
The given name must be the application executable name, which may differ from the descriptor name.
Examples:
$ cs uninstall amm
$ cs uninstall bloop scalafix
$ cs uninstall --all
Help options:
--usage Print usage and exit
-h, -help, --help Print help message and exit
-help-full, -full-help, --help-full, --full-help Print help message, including hidden options, and exit
Uninstall options:
--dir, --install-dir string?
--all
-q, --quiet Quiet output
-v, --verbose Increase verbosity (specify several times to increase more)
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1040 次 |
| 最近记录: |